﻿@model Subtle.ViewModels.UserConfigureViewModel
@{
	ViewBag.Title = "Configure User";
	Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
	Configure User</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
	<div class="container">
		@Html.ValidationSummary(false)
		<div class="editor-label">
			@Html.LabelFor(model => model.Username)
		</div>
		<div class="editor-field">
			@Html.EditorFor(model => model.Username)
			@Html.ValidationMessageFor(model => model.Username)
		</div>
		<div class="editor-label">
			@Html.LabelFor(model => model.About)
		</div>
		<div class="editor-field">
			@Html.TextAreaFor(model => model.About)
			@Html.ValidationMessageFor(model => model.About)
		</div>
		<div class="editor-label">
			@Html.LabelFor(model => model.Password)
		</div>
		<div class="editor-field">
			@Html.PasswordFor(model => model.Password)
			@Html.ValidationMessageFor(model => model.Password)
		</div>
		<div class="editor-label">
			@Html.LabelFor(model => model.ConfirmPassword)
		</div>
		<div class="editor-field">
			@Html.PasswordFor(model => model.ConfirmPassword)
			@Html.ValidationMessageFor(model => model.ConfirmPassword)
		</div>
	</div>

	<p>
		<input type="submit" value="Create" />
	</p>
}
